<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基础设置</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        :root {
            --primary-color: #1989fa;
            --bg-color: #f5f5f5;
            --card-bg: #fff;
            --text-color: #333;
            --border-color: #eee;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--bg-color);
            color: var(--text-color);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .header {
            padding: 15px;
            background-color: var(--primary-color);
            color: white;
            text-align: center;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        .back-btn {
            background: none;
            border: none;
            color: white;
            padding: 0 15px;
            font-size: 16px;
            cursor: pointer;
        }
        .header-title {
            flex: 1;
            text-align: center;
            margin-right: 45px;
        }
        .settings-list {
            padding: 15px;
        }
        .settings-item {
            background: white;
            border-radius: 8px;
            margin-bottom: 15px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .settings-header {
            padding: 15px;
            border-bottom: 1px solid var(--border-color);
            font-size: 16px;
            color: #333;
            display: flex;
            align-items: center;
        }
        .settings-icon {
            margin-right: 10px;
            color: var(--primary-color);
            width: 20px;
            text-align: center;
        }
        .settings-content {
            padding: 15px;
        }
        .settings-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
        }
        .settings-row:last-child {
            border-bottom: none;
        }
        .settings-label {
            font-size: 14px;
            color: #333;
        }
        .settings-value {
            font-size: 14px;
            color: #999;
            display: flex;
            align-items: center;
        }
        .settings-arrow {
            margin-left: 5px;
            color: #999;
        }
        .nav-bar {
            position: fixed;
            bottom: 0;
            width: 100%;
            display: flex;
            background: white;
            border-top: 1px solid var(--border-color);
            height: 50px;
        }
        .nav-item {
            flex: 1;
            text-align: center;
            padding: 8px 0;
            color: #666;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }
        .nav-item.active {
            color: var(--primary-color);
        }
        .nav-icon {
            font-size: 18px;
            margin-bottom: 2px;
        }
    </style>
</head>
<body>
    <div class="header">
        <button class="back-btn" onclick="history.back()">
            <i class="fas fa-arrow-left"></i>
        </button>
        <div class="header-title">基础设置</div>
    </div>

    <div class="settings-list">
        <div class="settings-item">
            <div class="settings-header">
                <i class="settings-icon fas fa-wallet"></i>
                支付方式设置
            </div>
            <div class="settings-content">
                <div class="settings-row">
                    <span class="settings-label">微信支付</span>
                    <span class="settings-value">
                        已开启
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
                <div class="settings-row">
                    <span class="settings-label">支付宝</span>
                    <span class="settings-value">
                        未开启
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
            </div>
        </div>

        <div class="settings-item">
            <div class="settings-header">
                <i class="settings-icon fas fa-truck"></i>
                物流配置
            </div>
            <div class="settings-content">
                <div class="settings-row">
                    <span class="settings-label">快递公司</span>
                    <span class="settings-value">
                        已配置3个
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
                <div class="settings-row">
                    <span class="settings-label">运费模板</span>
                    <span class="settings-value">
                        已配置2个
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
            </div>
        </div>

        <div class="settings-item">
            <div class="settings-header">
                <i class="settings-icon fas fa-print"></i>
                打印模板设置
            </div>
            <div class="settings-content">
                <div class="settings-row">
                    <span class="settings-label">快递单模板</span>
                    <span class="settings-value">
                        默认模板
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
                <div class="settings-row">
                    <span class="settings-label">发货单模板</span>
                    <span class="settings-value">
                        自定义模板
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
            </div>
        </div>

        <div class="settings-item">
            <div class="settings-header">
                <i class="settings-icon fas fa-bell"></i>
                消息通知设置
            </div>
            <div class="settings-content">
                <div class="settings-row">
                    <span class="settings-label">新订单通知</span>
                    <span class="settings-value">
                        已开启
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
                <div class="settings-row">
                    <span class="settings-label">退款通知</span>
                    <span class="settings-value">
                        已开启
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
                <div class="settings-row">
                    <span class="settings-label">库存预警</span>
                    <span class="settings-value">
                        已开启
                        <i class="settings-arrow fas fa-chevron-right"></i>
                    </span>
                </div>
            </div>
        </div>
    </div>

    <div class="nav-bar">
        <a href="../home.html" class="nav-item">
            <i class="nav-icon fas fa-home"></i>
            <span>首页</span>
        </a>
        <a href="../goods.html" class="nav-item">
            <i class="nav-icon fas fa-shopping-bag"></i>
            <span>商品</span>
        </a>
        <a href="../orders/order-list.html" class="nav-item">
            <i class="nav-icon fas fa-file-alt"></i>
            <span>订单</span>
        </a>
        <a href="#" class="nav-item active">
            <i class="nav-icon fas fa-user"></i>
            <span>我的</span>
        </a>
    </div>
</body>
</html>